package org.git.movie.service.impl;


import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.git.movie.mapper.FfSlideMapper;
import org.git.movie.service.FfSlideService;

import org.git.movie.vo.FfSlideVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 轮播表 服务实现类
 * </p>
 */
@Service
public class FfSlideServiceImpl  implements FfSlideService {


    @Autowired
    private FfSlideMapper ffSlideMapper;


    @Override
    public List<FfSlideVO> findValidSlideList() {

        PageHelper.startPage(1, 5, true);
        List<FfSlideVO>  list = ffSlideMapper.findValidSlideList();

        return list;
    }
}
